﻿package core.manager
{
	import core.IMainManager;
	
	import flash.events.EventDispatcher;
	

    public class MainSystemProperty extends EventDispatcher
    {
        public static const CHINESE:String = "Chinese";
        public static const SMOOTH:String = "Smooth";
        public static const CLEAR:String = "Clear";
        public static const ENGLISH:String = "English";
        public static var LANGUAGE:String = "Chinese";
        public static var QUALITY:String = "Smooth";
        private static var instance:MainSystemProperty;
        public function MainSystemProperty()
        {
            if (instance == null)
            {
                instance = this;
            }
            else
            {
                throw new Error("MainSystemProperty不能被实例化");
            }
        }
        public static function getInstance() : MainSystemProperty
        {
            if (instance == null)
            {
                return new MainSystemProperty;
            }
            return instance;
        }
    }
}
